package com.aliyun.messagemgt.dto;

import java.util.Date;

public class MessageRecord {
    private Long msgId;

    private String msgTitle;

    private String msgDescription;

    private String messageType;

    private String content;

    private String planName;

    private Integer planId;

    private Integer sceneTemplateId;

    private String templateName;

    private Byte commentType;

    private String ownerDept;

    private String ownerDeptName;

    private Integer pushChannelId;

    private Byte pushChannelType;

    private String pushChannelName;

    private String pushUserIds;

    private String pushOrgIds;

    private String msgSourceId;

    private String msgSourceName;

    private Byte msgSourceType;

    private Date timeCreate;

    private String userCreate;

    private Date timeUpdate;

    private String userUpdate;

    public Long getMsgId() {
        return msgId;
    }

    public MessageRecord setMsgId(Long msgId) {
        this.msgId = msgId;
        return this;
    }

    public String getMsgTitle() {
        return msgTitle;
    }

    public MessageRecord setMsgTitle(String msgTitle) {
        this.msgTitle = msgTitle;
        return this;
    }

    public String getMsgDescription() {
        return msgDescription;
    }

    public MessageRecord setMsgDescription(String msgDescription) {
        this.msgDescription = msgDescription;
        return this;
    }

    public String getMessageType() {
        return messageType;
    }

    public void setMessageType(String messageType) {
        this.messageType = messageType;
    }

    public String getContent() {
        return content;
    }

    public MessageRecord setContent(String content) {
        this.content = content;
        return this;
    }

    public String getPlanName() {
        return planName;
    }

    public MessageRecord setPlanName(String planName) {
        this.planName = planName;
        return this;
    }

    public Integer getPlanId() {
        return planId;
    }

    public MessageRecord setPlanId(Integer planId) {
        this.planId = planId;
        return this;
    }

    public Integer getSceneTemplateId() {
        return sceneTemplateId;
    }

    public MessageRecord setSceneTemplateId(Integer sceneTemplateId) {
        this.sceneTemplateId = sceneTemplateId;
        return this;
    }

    public String getTemplateName() {
        return templateName;
    }

    public MessageRecord setTemplateName(String templateName) {
        this.templateName = templateName;
        return this;
    }

    public Byte getCommentType() {
        return commentType;
    }

    public MessageRecord setCommentType(Byte commentType) {
        this.commentType = commentType;
        return this;
    }

    public String getOwnerDept() {
        return ownerDept;
    }

    public MessageRecord setOwnerDept(String ownerDept) {
        this.ownerDept = ownerDept;
        return this;
    }

    public String getOwnerDeptName() {
        return ownerDeptName;
    }

    public MessageRecord setOwnerDeptName(String ownerDeptName) {
        this.ownerDeptName = ownerDeptName;
        return this;
    }

    public Integer getPushChannelId() {
        return pushChannelId;
    }

    public MessageRecord setPushChannelId(Integer pushChannelId) {
        this.pushChannelId = pushChannelId;
        return this;
    }

    public Byte getPushChannelType() {
        return pushChannelType;
    }

    public MessageRecord setPushChannelType(Byte pushChannelType) {
        this.pushChannelType = pushChannelType;
        return this;
    }

    public String getPushChannelName() {
        return pushChannelName;
    }

    public MessageRecord setPushChannelName(String pushChannelName) {
        this.pushChannelName = pushChannelName;
        return this;
    }

    public String getPushUserIds() {
        return pushUserIds;
    }

    public MessageRecord setPushUserIds(String pushUserIds) {
        this.pushUserIds = pushUserIds;
        return this;
    }

    public String getPushOrgIds() {
        return pushOrgIds;
    }

    public MessageRecord setPushOrgIds(String pushOrgIds) {
        this.pushOrgIds = pushOrgIds;
        return this;
    }

    public String getMsgSourceId() {
        return msgSourceId;
    }

    public MessageRecord setMsgSourceId(String msgSourceId) {
        this.msgSourceId = msgSourceId;
        return this;
    }

    public String getMsgSourceName() {
        return msgSourceName;
    }

    public MessageRecord setMsgSourceName(String msgSourceName) {
        this.msgSourceName = msgSourceName;
        return this;
    }

    public Byte getMsgSourceType() {
        return msgSourceType;
    }

    public MessageRecord setMsgSourceType(Byte msgSourceType) {
        this.msgSourceType = msgSourceType;
        return this;
    }

    public Date getTimeCreate() {
        return timeCreate;
    }

    public MessageRecord setTimeCreate(Date timeCreate) {
        this.timeCreate = timeCreate;
        return this;
    }

    public String getUserCreate() {
        return userCreate;
    }

    public MessageRecord setUserCreate(String userCreate) {
        this.userCreate = userCreate;
        return this;
    }

    public Date getTimeUpdate() {
        return timeUpdate;
    }

    public MessageRecord setTimeUpdate(Date timeUpdate) {
        this.timeUpdate = timeUpdate;
        return this;
    }

    public String getUserUpdate() {
        return userUpdate;
    }

    public MessageRecord setUserUpdate(String userUpdate) {
        this.userUpdate = userUpdate;
        return this;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("MessageRecord{");
        sb.append("msgId=").append(msgId);
        sb.append(", msgTitle='").append(msgTitle).append('\'');
        sb.append(", msgDescription='").append(msgDescription).append('\'');
        sb.append(", messageType=").append(messageType);
        sb.append(", content='").append(content).append('\'');
        sb.append(", planName='").append(planName).append('\'');
        sb.append(", planId=").append(planId);
        sb.append(", sceneTemplateId=").append(sceneTemplateId);
        sb.append(", templateName='").append(templateName).append('\'');
        sb.append(", commentType=").append(commentType);
        sb.append(", ownerDept='").append(ownerDept).append('\'');
        sb.append(", ownerDeptName='").append(ownerDeptName).append('\'');
        sb.append(", pushChannelId=").append(pushChannelId);
        sb.append(", pushChannelType=").append(pushChannelType);
        sb.append(", pushChannelName='").append(pushChannelName).append('\'');
        sb.append(", pushUserIds='").append(pushUserIds).append('\'');
        sb.append(", pushOrgIds='").append(pushOrgIds).append('\'');
        sb.append(", msgSourceId='").append(msgSourceId).append('\'');
        sb.append(", msgSourceName='").append(msgSourceName).append('\'');
        sb.append(", msgSourceType=").append(msgSourceType);
        sb.append(", timeCreate=").append(timeCreate);
        sb.append(", userCreate='").append(userCreate).append('\'');
        sb.append(", timeUpdate=").append(timeUpdate);
        sb.append(", userUpdate='").append(userUpdate).append('\'');
        sb.append('}');
        return sb.toString();
    }
}